//
//  MineCell.m
//  植物管理
//
//  Created by liujianlong on 2022/11/21.
//

#import "MineCell.h"

@implementation MineCell

- (void)awakeFromNib {
    [super awakeFromNib];
    CGFloat w = (SCREEN_WIDTH - 60) / 2;
    CGRect bounds = CGRectMake(0, 0, w, w);
    self.layer.shadowPath = [UIBezierPath bezierPathWithRoundedRect:bounds byRoundingCorners:UIRectCornerTopLeft | UIRectCornerTopRight | UIRectCornerBottomLeft | UIRectCornerBottomRight cornerRadii:CGSizeMake(10, 10)].CGPath;
    self.layer.shadowColor = @"#E8F1EC".color.CGColor;
    self.layer.shadowOffset = CGSizeMake(0, 0);
    self.layer.cornerRadius = 20;
    self.layer.shadowRadius = 10;
    self.layer.shadowOpacity = 1;
}

@end
